This dialog allows you to modify the properties of each
external tool on the Tools menu. It is used by the "Edit tools" dialog.
Caption: A description of the tool as it is
displayed on the Tools menu
Program: The filename of the program. The program
can either be an executable file or a Tiny Hexer Script. A file selection dialog is shown
so you can choose the program/script when clicking the "..." button
Directory: The working directory used when
executing the program
Arguments: Command line arguments that will be
passed to the program/script. A Tiny Hexer Script can access
these arguments using PARAM_COUNT and PARAMS().
Some macros can be used to control tool execution:
$(FILE): This macro is replaced by the filename of the
active document on tool execution
$(INPUT): You will be prompted to type an argument.
This text will replace the macro on tool execution
$(POSITION): This macro is replaced by the position of
the cursor in the active document on tool execution
$(SAVE): Save the active document before executing the
tool. The macro is removed from the parameters passed to the
tool
$(SCRIPT): This macro is removed from the list of
arguments. It tells Tiny Hexer that the tool is a Tiny Hexer Script rather than an
executable program
$(SELCOUNT): This macro is replaced by the amount of
selected data in the active document on tool execution
$(SELSTART): This macro is replaced by the start of
the selected block in the active document on tool
execution
$(SIZE): This macro is replaced by the size of the
active file on tool execution
$(WAIT): : This macro is removed from the list of
arguments. It tells Tiny Hexer that program execution should
wait until the tool has finished
Icon: Specify an icon to be displayed in the menu and toolbar for this item.
A "pick icon" dialog is shown so you can select an icon when clicking the "..." button
OK: Accept the changes and close this dialog
Cancel: Close the dialog without accepting the
changes